include $(TOPDIR)/core/config/env.mk

USE_LIBC = yes
USE_NANO = yes

#	#if defined(__LOG_UART__)
#		LOG_PRINTF output to debug uart
#	#elif defined(__LOG_ACAT__)
#		LOG_PRINTF output to catstudio
CFLAGS += -D__LOG_UART__
EXTRA_INC +=
EXTRA_LIBS +=

SRCS = \
	main.c

include $(TOPDIR)/core/mbedtls/mbedtls.mak


SDK_INC += \
		core_http\core	\
		core_http\core\sysdep	\
		core_http\core\utils
		
SRCS += core_http/core/aiot_state_api.c \
		core_http/core/sysdep/core_adapter.c \
		core_http/core/sysdep/core_sysdep.c \
		core_http/core/utils/core_http.c \
		core_http/core/utils/core_log.c \
		core_http/core/utils/core_string.c \
		core_http/portfiles/aiot_port/freertos_port.c

include $(TOPDIR)/core/config/rules.mk